Generates a function that executes a switch case from the associative array.
Pass true as the second parameter if reverse is desired.
See Implementation
Generates a function that executes a switch case from the associative array.
Pass true as the second parameter if reverse is desired.